//
//  NSCalendar+CalendarAdditions.h
//  ViperDemo
//
//  Created by Leeesven on 17/5/20.
//  Copyright © 2017年 Leeesven. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "NearTermDateRelation.h"

@interface NSCalendar (CalendarAdditions)

- (NSDate *)dateForEndOfFollowingWeekWithDate:(NSDate *)date;
- (NSDate *)dateForBeginningOfDay:(NSDate *)date;
- (NSDate *)dateForEndOfDay:(NSDate *)date;

- (BOOL)isDate:(NSDate *)date1 equalToYearMonthDay:(NSDate *)date2;

- (VTDNearTermDateRelation)nearTermRelationForDate:(NSDate *)date relativeToToday:(NSDate *)today;

@end
